import java.util.*;
import java.io.*;

class CourseDatabaseTestDriver {
	public static void main(String[] args) {

		CourseDatabase crseDb = new CourseDatabase();

		ArrayList<Course> crseList = crseDb.getAvailableCourses();
		System.out.println("Course Database, constructor done..");

		for (Course course : crseList) {
			String str = course.toString();
			System.out.println(str);
		}

		crseDb.CloseDatabase();


	}
}
